/**
 * @param {number[]} candidates
 * @return {number}
 */
 var largestCombination = function(candidates) {
  const maps = new Array(32).fill(0);
  candidates.forEach(c => {
      let t = c;
      let i = 0;
      while(t > 0) {
          maps[i] += t % 2;
          t >>= 1;
          i++;
      }
  });
  return Math.max(...maps);
};